﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace DP.RecallDeal.Interface.Core
{
    /// <summary>
    /// Partner: ADP
    /// This is DTO which holds object pulled from ADP via WeOwe query
    /// </summary>
    [Serializable]
    [XmlRoot(Namespace = "http://www.dmotorworks.com/pip-extract-we-owe")]
    public class WeOwe : IDTO
    {
        [XmlElement("WeOwe")]
        public WeOwe[] WeOweArray { get; set; }

        public string HostItemID { get; set; }

        public string DealNo { get; set; }

        public string WeOweCode { get; set; }

        public string WeOweDesc { get; set; }

        public string FrontBackFlag { get; set; }

        public string HardSoftFlag { get; set; }

        public string CostAmmount { get; set; }

        public string SaleAmmount { get; set; }

        public string ResidualAmmount { get; set; }

        public string ResidualTableFlag { get; set; }

        public string ResidualTableAmmount { get; set; }

        public string SatisfiedBy { get; set; }

        public string SatisfiedDate { get; set; }

        public string ErrorLevel { get; set; }

        public string ErrorMessage { get; set; }

        public void PrepareForTransformation() { }
    }
}
